<!DOCTYPE html><html><head><title>Ext | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
<style type="text/css">.head-band { display: none; }
.header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
.doc-tab .members .member a.more { background-color: #efefef; }
</style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
</head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
<a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">

    req = {
        liveURL: '.',
        standAloneMode: true,
        origDocClass: 'Ext',
        docClass: 'Ext',
        docReq: 'Ext',
        version: '4.0',
        baseURL: '.',
        baseDocURL: '.',
        baseProdURL: '.'
    };

    clsInfo = {};



</script>

<script type="text/javascript" src="../search.js"></script>
<!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
<script type="text/javascript" src="../class_tree.js"></script>
<script type="text/javascript" src="../class_doc.js"></script>
<script type="text/javascript">
    req.source = 'Ext-more.html#Ext';
    clsInfo = {"methods":["addBehaviors","apply","applyIf","bind","callback","clean","clone","copyTo","create","createByAlias","decode","defer","define","destroy","destroyMembers","each","emptyFn","encode","escapeRe","exclude","extend","flatten","fly","get","getBody","getClassName","getCmp","getDoc","getDom","getHead","getOrientation","getScrollBarWidth","getStore","htmlDecode","htmlEncode","id","invoke","isBoolean","isDate","isDefined","isElement","isEmpty","isIterable","isNumber","isNumeric","isPrimitive","isString","isTextNode","iterate","max","mean","merge","min","namespace","ns","num","onDocumentReady","onReady","override","partition","pass","pluck","preg","query","regModel","regStore","require","select","sum","syncRequire","toArray","toSentence","typeOf","unique","urlAppend","urlDecode","urlEncode","value","valueFrom","widget","zip"],"cfgs":[],"properties":["BLANK_IMAGE_URL","SSL_SECURE_URL","USE_NATIVE_JSON","application","enableFx","enableGarbageCollector","enableListenerCollection","enableNestedListenerRemoval","enumerables","isArray","isChrome","isFF3_0","isFF3_5","isFF3_6","isFunction","isGecko","isGecko3","isGecko4","isIE","isIE6","isIE7","isIE8","isIE9","isLinux","isMac","isObject","isOpera","isOpera10_5","isReady","isSafari","isSafari2","isSafari3","isSafari4","isWebKit","isWindows","removeNode","scopeResetCSS","type","useShims"],"events":[],"subclasses":[]};
    Ext.onReady(function() {
        Ext.create('Docs.classPanel');
    });
</script><div id="top-block" class="top-block"><h1 id="clsTitle" class="cls"><a href="../source/Ext-more.html#Ext" target="_blank">Ext</a></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><p>The <a href="Ext.html" rel="Ext" class="docClass">Ext</a> namespace (global object) encapsulates all classes, singletons, and utility methods provided by Sencha's libraries.</p>
 Most user interface Components are at a lower level of nesting in the namespace, but many common utility functions are provided
 as direct properties of the <a href="Ext.html" rel="Ext" class="docClass">Ext</a> namespace.</p>

<p> Also many frequently used methods from other classes are provided as shortcuts within the <a href="Ext.html" rel="Ext" class="docClass">Ext</a> namespace.
 For example <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a> aliases <a href="Ext.ComponentManager.html#get" rel="Ext.ComponentManager#get" class="docClass">Ext.ComponentManager.get</a>.</p>

<p> Many applications are initiated with <a href="Ext.html#onReady" rel="Ext#onReady" class="docClass">Ext.onReady</a> which is called once the DOM is ready.
 This ensures all scripts have been loaded, preventing dependency issues. For example</p>

<pre class="prettyprint"><code> Ext.onReady(function(){
     new Ext.Component({
         renderTo: document.body,
         html: 'DOM ready!'
     });
 });
</code></pre>

<p>For more information about how to use the <a href="Ext.html" rel="Ext" class="docClass">Ext</a> classes, see</p>

<p><a href="http://www.sencha.com/learn/">The Learning Center</a>
<a href="http://www.sencha.com/learn/Ext_FAQ">The FAQ</a>
<a href="http://www.sencha.com/forum/">The forums</a></p>
<div class="members"><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-BLANK_IMAGE_URL" class="member f ni"><a href="Ext.html#property-BLANK_IMAGE_URL" rel="property-BLANK_IMAGE_URL" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-BLANK_IMAGE_URL" class="viewSource">view source</a></div><a name="BLANK_IMAGE_URL"></a><a name="property-BLANK_IMAGE_URL"></a><a href="Ext.html#" rel="property-BLANK_IMAGE_URL" class="cls expand">BLANK_IMAGE_URL</a><span> : String</span></div><div class="description"><div class="short">URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images.
In older versions o...</div><div class="long"><p>URL to a 1x1 transparent gif image used by <a href="Ext.html" rel="Ext" class="docClass">Ext</a> to create inline icons with CSS background images.
In older versions of IE, this defaults to "http://sencha.com/s.gif" and you should change this to a URL on your server.
For other browsers it uses an inline data URL.</p>
</div></div></div><div id="property-SSL_SECURE_URL" class="member ni"><a href="Ext.html#property-SSL_SECURE_URL" rel="property-SSL_SECURE_URL" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-SSL_SECURE_URL" class="viewSource">view source</a></div><a name="SSL_SECURE_URL"></a><a name="property-SSL_SECURE_URL"></a><a href="Ext.html#" rel="property-SSL_SECURE_URL" class="cls expand">SSL_SECURE_URL</a><span> : String</span></div><div class="description"><div class="short">URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
the IE insecure content...</div><div class="long"><p>URL to a blank file used by <a href="Ext.html" rel="Ext" class="docClass">Ext</a> when in secure mode for iframe src and onReady src to prevent
the IE insecure content warning (<tt>'about:blank'</tt>, except for IE in secure mode, which is <tt>'javascript:""'</tt>).</p>
</div></div></div><div id="property-USE_NATIVE_JSON" class="member ni"><a href="Ext.html#property-USE_NATIVE_JSON" rel="property-USE_NATIVE_JSON" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-USE_NATIVE_JSON" class="viewSource">view source</a></div><a name="USE_NATIVE_JSON"></a><a name="property-USE_NATIVE_JSON"></a><a href="Ext.html#" rel="property-USE_NATIVE_JSON" class="cls expand">USE_NATIVE_JSON</a><span> : Boolean</span></div><div class="description"><div class="short">Indicates whether to use native browser parsing for JSON methods.
This option is ignored if the browser does not supp...</div><div class="long"><p>Indicates whether to use native browser parsing for JSON methods.
This option is ignored if the browser does not support native JSON methods.
<b>Note: Native JSON methods will not work with objects that have functions.
Also, property names must be quoted, otherwise the data will not parse.</b> (Defaults to false)</p>
</div></div></div><div id="property-application" class="member ni"><a href="Ext.html#property-application" rel="property-application" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-application" class="viewSource">view source</a></div><a name="application"></a><a name="property-application"></a><a href="Ext.html#" rel="property-application" class="cls expand">application</a><span> : Function</span></div><div class="description"><div class="short"><p>TBD</p>
</div><div class="long"><p>TBD</p>
</div></div></div><div id="property-enableFx" class="member ni"><a href="Ext.html#property-enableFx" rel="property-enableFx" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-enableFx" class="viewSource">view source</a></div><a name="enableFx"></a><a name="property-enableFx"></a><a href="Ext.html#" rel="property-enableFx" class="cls expand">enableFx</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> Class is available</p>
</div><div class="long"><p>True if the <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> Class is available</p>
</div></div></div><div id="property-enableGarbageCollector" class="member ni"><a href="Ext.html#property-enableGarbageCollector" rel="property-enableGarbageCollector" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-enableGarbageCollector" class="viewSource">view source</a></div><a name="enableGarbageCollector"></a><a name="property-enableGarbageCollector"></a><a href="Ext.html#" rel="property-enableGarbageCollector" class="cls expand">enableGarbageCollector</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to automatically uncache orphaned Ext.core.Elements periodically (defaults to true)</p>
</div><div class="long"><p>True to automatically uncache orphaned Ext.core.Elements periodically (defaults to true)</p>
</div></div></div><div id="property-enableListenerCollection" class="member ni"><a href="Ext.html#property-enableListenerCollection" rel="property-enableListenerCollection" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-enableListenerCollection" class="viewSource">view source</a></div><a name="enableListenerCollection"></a><a name="property-enableListenerCollection"></a><a href="Ext.html#" rel="property-enableListenerCollection" class="cls expand">enableListenerCollection</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to automatically purge event listeners during garbageCollection (defaults to true).</p>
</div><div class="long"><p>True to automatically purge event listeners during garbageCollection (defaults to true).</p>
</div></div></div><div id="property-enableNestedListenerRemoval" class="member ni"><a href="Ext.html#property-enableNestedListenerRemoval" rel="property-enableNestedListenerRemoval" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-enableNestedListenerRemoval" class="viewSource">view source</a></div><a name="enableNestedListenerRemoval"></a><a name="property-enableNestedListenerRemoval"></a><a href="Ext.html#" rel="property-enableNestedListenerRemoval" class="cls expand">enableNestedListenerRemoval</a><span> : Boolean</span></div><div class="description"><div class="short">EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
Currently not optimized...</div><div class="long"><p>EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
Currently not optimized for performance.</p>
</div></div></div><div id="property-enumerables" class="member ni"><a href="Ext.html#property-enumerables" rel="property-enumerables" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-property-enumerables" class="viewSource">view source</a></div><a name="enumerables"></a><a name="property-enumerables"></a><a href="Ext.html#" rel="property-enumerables" class="cls expand">enumerables</a><span> : Array</span></div><div class="description"><div class="short"><p>An array containing extra enumerables for old browsers</p>
</div><div class="long"><p>An array containing extra enumerables for old browsers</p>
</div></div></div><div id="property-isArray" class="member ni"><a href="Ext.html#property-isArray" rel="property-isArray" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-property-isArray" class="viewSource">view source</a></div><a name="isArray"></a><a name="property-isArray"></a><a href="Ext.html#" rel="property-isArray" class="cls expand">isArray</a><span> : Object</span></div><div class="description"><div class="short"><p>Returns true if the passed value is a JavaScript Array, false otherwise.</p>
</div><div class="long"><p>Returns true if the passed value is a JavaScript Array, false otherwise.</p>
</div></div></div><div id="property-isChrome" class="member ni"><a href="Ext.html#property-isChrome" rel="property-isChrome" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isChrome" class="viewSource">view source</a></div><a name="isChrome"></a><a name="property-isChrome"></a><a href="Ext.html#" rel="property-isChrome" class="cls expand">isChrome</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Chrome.</p>
</div><div class="long"><p>True if the detected browser is Chrome.</p>
</div></div></div><div id="property-isFF3_0" class="member ni"><a href="Ext.html#property-isFF3_0" rel="property-isFF3_0" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isFF3_0" class="viewSource">view source</a></div><a name="isFF3_0"></a><a name="property-isFF3_0"></a><a href="Ext.html#" rel="property-isFF3_0" class="cls expand">isFF3_0</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses FireFox 3.0</p>
</div><div class="long"><p>True if the detected browser uses FireFox 3.0</p>
</div></div></div><div id="property-isFF3_5" class="member ni"><a href="Ext.html#property-isFF3_5" rel="property-isFF3_5" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isFF3_5" class="viewSource">view source</a></div><a name="isFF3_5"></a><a name="property-isFF3_5"></a><a href="Ext.html#" rel="property-isFF3_5" class="cls expand">isFF3_5</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses FireFox 3.5</p>
</div><div class="long"><p>True if the detected browser uses FireFox 3.5</p>
</div></div></div><div id="property-isFF3_6" class="member ni"><a href="Ext.html#property-isFF3_6" rel="property-isFF3_6" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isFF3_6" class="viewSource">view source</a></div><a name="isFF3_6"></a><a name="property-isFF3_6"></a><a href="Ext.html#" rel="property-isFF3_6" class="cls expand">isFF3_6</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses FireFox 3.6</p>
</div><div class="long"><p>True if the detected browser uses FireFox 3.6</p>
</div></div></div><div id="property-isFunction" class="member ni"><a href="Ext.html#property-isFunction" rel="property-isFunction" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-property-isFunction" class="viewSource">view source</a></div><a name="isFunction"></a><a name="property-isFunction"></a><a href="Ext.html#" rel="property-isFunction" class="cls expand">isFunction</a><span> : Object</span></div><div class="description"><div class="short"><p>Returns true if the passed value is a JavaScript Function, false otherwise.</p>
</div><div class="long"><p>Returns true if the passed value is a JavaScript Function, false otherwise.</p>
</div></div></div><div id="property-isGecko" class="member ni"><a href="Ext.html#property-isGecko" rel="property-isGecko" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isGecko" class="viewSource">view source</a></div><a name="isGecko"></a><a name="property-isGecko"></a><a href="Ext.html#" rel="property-isGecko" class="cls expand">isGecko</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox).</p>
</div><div class="long"><p>True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox).</p>
</div></div></div><div id="property-isGecko3" class="member ni"><a href="Ext.html#property-isGecko3" rel="property-isGecko3" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isGecko3" class="viewSource">view source</a></div><a name="isGecko3"></a><a name="property-isGecko3"></a><a href="Ext.html#" rel="property-isGecko3" class="cls expand">isGecko3</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x).</p>
</div><div class="long"><p>True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x).</p>
</div></div></div><div id="property-isGecko4" class="member ni"><a href="Ext.html#property-isGecko4" rel="property-isGecko4" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isGecko4" class="viewSource">view source</a></div><a name="isGecko4"></a><a name="property-isGecko4"></a><a href="Ext.html#" rel="property-isGecko4" class="cls expand">isGecko4</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses a Gecko 2.0+ layout engine (e.g. Firefox 4.x).</p>
</div><div class="long"><p>True if the detected browser uses a Gecko 2.0+ layout engine (e.g. Firefox 4.x).</p>
</div></div></div><div id="property-isIE" class="member ni"><a href="Ext.html#property-isIE" rel="property-isIE" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isIE" class="viewSource">view source</a></div><a name="isIE"></a><a name="property-isIE"></a><a href="Ext.html#" rel="property-isIE" class="cls expand">isIE</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Internet Explorer.</p>
</div><div class="long"><p>True if the detected browser is Internet Explorer.</p>
</div></div></div><div id="property-isIE6" class="member ni"><a href="Ext.html#property-isIE6" rel="property-isIE6" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isIE6" class="viewSource">view source</a></div><a name="isIE6"></a><a name="property-isIE6"></a><a href="Ext.html#" rel="property-isIE6" class="cls expand">isIE6</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Internet Explorer 6.x.</p>
</div><div class="long"><p>True if the detected browser is Internet Explorer 6.x.</p>
</div></div></div><div id="property-isIE7" class="member ni"><a href="Ext.html#property-isIE7" rel="property-isIE7" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isIE7" class="viewSource">view source</a></div><a name="isIE7"></a><a name="property-isIE7"></a><a href="Ext.html#" rel="property-isIE7" class="cls expand">isIE7</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Internet Explorer 7.x.</p>
</div><div class="long"><p>True if the detected browser is Internet Explorer 7.x.</p>
</div></div></div><div id="property-isIE8" class="member ni"><a href="Ext.html#property-isIE8" rel="property-isIE8" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isIE8" class="viewSource">view source</a></div><a name="isIE8"></a><a name="property-isIE8"></a><a href="Ext.html#" rel="property-isIE8" class="cls expand">isIE8</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Internet Explorer 8.x.</p>
</div><div class="long"><p>True if the detected browser is Internet Explorer 8.x.</p>
</div></div></div><div id="property-isIE9" class="member ni"><a href="Ext.html#property-isIE9" rel="property-isIE9" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isIE9" class="viewSource">view source</a></div><a name="isIE9"></a><a name="property-isIE9"></a><a href="Ext.html#" rel="property-isIE9" class="cls expand">isIE9</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Internet Explorer 9.x.</p>
</div><div class="long"><p>True if the detected browser is Internet Explorer 9.x.</p>
</div></div></div><div id="property-isLinux" class="member ni"><a href="Ext.html#property-isLinux" rel="property-isLinux" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isLinux" class="viewSource">view source</a></div><a name="isLinux"></a><a name="property-isLinux"></a><a href="Ext.html#" rel="property-isLinux" class="cls expand">isLinux</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected platform is Linux.</p>
</div><div class="long"><p>True if the detected platform is Linux.</p>
</div></div></div><div id="property-isMac" class="member ni"><a href="Ext.html#property-isMac" rel="property-isMac" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isMac" class="viewSource">view source</a></div><a name="isMac"></a><a name="property-isMac"></a><a href="Ext.html#" rel="property-isMac" class="cls expand">isMac</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected platform is Mac OS.</p>
</div><div class="long"><p>True if the detected platform is Mac OS.</p>
</div></div></div><div id="property-isObject" class="member ni"><a href="Ext.html#property-isObject" rel="property-isObject" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-property-isObject" class="viewSource">view source</a></div><a name="isObject"></a><a name="property-isObject"></a><a href="Ext.html#" rel="property-isObject" class="cls expand">isObject</a><span> : Object</span></div><div class="description"><div class="short"><p>Returns true if the passed value is a JavaScript Object, false otherwise.</p>
</div><div class="long"><p>Returns true if the passed value is a JavaScript Object, false otherwise.</p>
</div></div></div><div id="property-isOpera" class="member ni"><a href="Ext.html#property-isOpera" rel="property-isOpera" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isOpera" class="viewSource">view source</a></div><a name="isOpera"></a><a name="property-isOpera"></a><a href="Ext.html#" rel="property-isOpera" class="cls expand">isOpera</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Opera.</p>
</div><div class="long"><p>True if the detected browser is Opera.</p>
</div></div></div><div id="property-isOpera10_5" class="member ni"><a href="Ext.html#property-isOpera10_5" rel="property-isOpera10_5" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isOpera10_5" class="viewSource">view source</a></div><a name="isOpera10_5"></a><a name="property-isOpera10_5"></a><a href="Ext.html#" rel="property-isOpera10_5" class="cls expand">isOpera10_5</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Opera 10.5x.</p>
</div><div class="long"><p>True if the detected browser is Opera 10.5x.</p>
</div></div></div><div id="property-isReady" class="member ni"><a href="Ext.html#property-isReady" rel="property-isReady" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isReady" class="viewSource">view source</a></div><a name="isReady"></a><a name="property-isReady"></a><a href="Ext.html#" rel="property-isReady" class="cls expand">isReady</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True when the document is fully initialized and ready for action</p>
</div><div class="long"><p>True when the document is fully initialized and ready for action</p>
</div></div></div><div id="property-isSafari" class="member ni"><a href="Ext.html#property-isSafari" rel="property-isSafari" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isSafari" class="viewSource">view source</a></div><a name="isSafari"></a><a name="property-isSafari"></a><a href="Ext.html#" rel="property-isSafari" class="cls expand">isSafari</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Safari.</p>
</div><div class="long"><p>True if the detected browser is Safari.</p>
</div></div></div><div id="property-isSafari2" class="member ni"><a href="Ext.html#property-isSafari2" rel="property-isSafari2" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isSafari2" class="viewSource">view source</a></div><a name="isSafari2"></a><a name="property-isSafari2"></a><a href="Ext.html#" rel="property-isSafari2" class="cls expand">isSafari2</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Safari 2.x.</p>
</div><div class="long"><p>True if the detected browser is Safari 2.x.</p>
</div></div></div><div id="property-isSafari3" class="member ni"><a href="Ext.html#property-isSafari3" rel="property-isSafari3" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isSafari3" class="viewSource">view source</a></div><a name="isSafari3"></a><a name="property-isSafari3"></a><a href="Ext.html#" rel="property-isSafari3" class="cls expand">isSafari3</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Safari 3.x.</p>
</div><div class="long"><p>True if the detected browser is Safari 3.x.</p>
</div></div></div><div id="property-isSafari4" class="member ni"><a href="Ext.html#property-isSafari4" rel="property-isSafari4" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isSafari4" class="viewSource">view source</a></div><a name="isSafari4"></a><a name="property-isSafari4"></a><a href="Ext.html#" rel="property-isSafari4" class="cls expand">isSafari4</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser is Safari 4.x.</p>
</div><div class="long"><p>True if the detected browser is Safari 4.x.</p>
</div></div></div><div id="property-isWebKit" class="member ni"><a href="Ext.html#property-isWebKit" rel="property-isWebKit" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isWebKit" class="viewSource">view source</a></div><a name="isWebKit"></a><a name="property-isWebKit"></a><a href="Ext.html#" rel="property-isWebKit" class="cls expand">isWebKit</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected browser uses WebKit.</p>
</div><div class="long"><p>True if the detected browser uses WebKit.</p>
</div></div></div><div id="property-isWindows" class="member ni"><a href="Ext.html#property-isWindows" rel="property-isWindows" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-isWindows" class="viewSource">view source</a></div><a name="isWindows"></a><a name="property-isWindows"></a><a href="Ext.html#" rel="property-isWindows" class="cls expand">isWindows</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True if the detected platform is Windows.</p>
</div><div class="long"><p>True if the detected platform is Windows.</p>
</div></div></div><div id="property-removeNode" class="member ni"><a href="Ext.html#property-removeNode" rel="property-removeNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-removeNode" class="viewSource">view source</a></div><a name="removeNode"></a><a name="property-removeNode"></a><a href="Ext.html#" rel="property-removeNode" class="cls expand">removeNode</a><span> : Object</span></div><div class="description"><div class="short">Removes a DOM node from the document.

Removes this element from the document, removes all DOM event listeners, and d...</div><div class="long"><p>Removes a DOM node from the document.</p>

<p>Removes this element from the document, removes all DOM event listeners, and deletes the cache reference.
All DOM event listeners are removed from this element. If <a href="Ext.html#enableNestedListenerRemoval" rel="Ext#enableNestedListenerRemoval" class="docClass">Ext.enableNestedListenerRemoval</a> is
<code>true</code>, then DOM event listeners are also removed from all child nodes. The body node
will be ignored if passed in.</p>

</div></div></div><div id="property-scopeResetCSS" class="member ni"><a href="Ext.html#property-scopeResetCSS" rel="property-scopeResetCSS" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-scopeResetCSS" class="viewSource">view source</a></div><a name="scopeResetCSS"></a><a name="property-scopeResetCSS"></a><a href="Ext.html#" rel="property-scopeResetCSS" class="cls expand">scopeResetCSS</a><span> : Boolean</span></div><div class="description"><div class="short">True to scope the reset CSS to be just applied to Ext components. Note that this wraps root containers
with an additi...</div><div class="long"><p>True to scope the reset CSS to be just applied to <a href="Ext.html" rel="Ext" class="docClass">Ext</a> components. Note that this wraps root containers
with an additional element. Also remember that when you turn on this option, you have to use ext-all-scoped {
unless you use the bootstrap.js to load your javascript, in which case it will be handled for you.</p>
</div></div></div><div id="property-type" class="member ni"><a href="Ext.html#property-type" rel="property-type" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-property-type" class="viewSource">view source</a></div><a name="type"></a><a name="property-type"></a><a href="Ext.html#" rel="property-type" class="cls expand">type</a><span> : Object</span></div><div class="description"><div class="short"><p>Old alias to <a href="Ext.html#typeOf" rel="Ext#typeOf" class="docClass">typeOf</a>
@deprecated 4.0.0 Use <a href="Ext.html#typeOf" rel="Ext#typeOf" class="docClass">typeOf</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.html#typeOf" rel="Ext#typeOf" class="docClass">typeOf</a>
@deprecated 4.0.0 Use <a href="Ext.html#typeOf" rel="Ext#typeOf" class="docClass">typeOf</a> instead</p>
</div></div></div><div id="property-useShims" class="member ni"><a href="Ext.html#property-useShims" rel="property-useShims" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-property-useShims" class="viewSource">view source</a></div><a name="useShims"></a><a name="property-useShims"></a><a href="Ext.html#" rel="property-useShims" class="cls expand">useShims</a><span> : Boolean</span></div><div class="description"><div class="short">By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
you may wa...</div><div class="long"><p>By default, <a href="Ext.html" rel="Ext" class="docClass">Ext</a> intelligently decides whether floating elements should be shimmed. If you are using flash,
you may want to set this to true.</p>
</div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-addBehaviors" class="member f ni"><a href="Ext.html#method-addBehaviors" rel="method-addBehaviors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-addBehaviors" class="viewSource">view source</a></div><a name="addBehaviors"></a><a name="method-addBehaviors"></a><a href="Ext.html#" rel="method-addBehaviors" class="cls expand">addBehaviors</a>(
<span class="pre">Object obj</span>)
 : void</div><div class="description"><div class="short">Applies event listeners to elements by selectors when the document is ready.
The event name is specified with an &#64...</div><div class="long"><p>Applies event listeners to elements by selectors when the document is ready.
The event name is specified with an <tt>&#64;</tt> suffix.</p>

<pre><code>Ext.addBehaviors({
    // add a listener for click on all anchors in element with id foo
    '#foo a&#64;click' : function(e, t){
        // do something
    },

    // add the same listener to multiple selectors (separated by comma BEFORE the &#64;)
    '#foo a, #bar span.some-class&#64;mouseover' : function(){
        // do something
    }
});
</code></pre>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">obj</span> : Object<div class="sub-desc"><p>The list of behaviors to apply</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-apply" class="member ni"><a href="Ext.html#method-apply" rel="method-apply" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-apply" class="viewSource">view source</a></div><a name="apply"></a><a name="method-apply"></a><a href="Ext.html#" rel="method-apply" class="cls expand">apply</a>(
<span class="pre">Object object, Object config, Object defaults</span>)
 : Object</div><div class="description"><div class="short">Copies all the properties of config to the specified object.
Note that if recursive merging and cloning without refer...</div><div class="long"><p>Copies all the properties of config to the specified object.
Note that if recursive merging and cloning without referencing the original objects / arrays is needed, use
<a href="Ext.Object.html#merge" rel="Ext.Object#merge" class="docClass">Ext.Object.merge</a> instead.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">object</span> : Object<div class="sub-desc"><p>The receiver of the properties</p>
</div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The source of the properties</p>
</div></li><li><span class="pre">defaults</span> : Object<div class="sub-desc"><p>A different object that will also be applied for default values</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>returns obj</p>
</li></ul></div></div></div><div id="method-applyIf" class="member ni"><a href="Ext.html#method-applyIf" rel="method-applyIf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-applyIf" class="viewSource">view source</a></div><a name="applyIf"></a><a name="method-applyIf"></a><a href="Ext.html#" rel="method-applyIf" class="cls expand">applyIf</a>(
<span class="pre">Object object, Object config</span>)
 : Object</div><div class="description"><div class="short"><p>Copies all the properties of config to object if they don't already exist.
@function</p>
</div><div class="long"><p>Copies all the properties of config to object if they don't already exist.
@function</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">object</span> : Object<div class="sub-desc"><p>The receiver of the properties</p>
</div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The source of the properties</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>returns obj</p>
</li></ul></div></div></div><div id="method-bind" class="member ni"><a href="Ext.html#method-bind" rel="method-bind" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Function.html#Ext-method-bind" class="viewSource">view source</a></div><a name="bind"></a><a name="method-bind"></a><a href="Ext.html#" rel="method-bind" class="cls expand">bind</a> : void</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.Function.html#bind" rel="Ext.Function#bind" class="docClass">Ext.Function.bind</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.Function.html#bind" rel="Ext.Function#bind" class="docClass">Ext.Function.bind</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-callback" class="member ni"><a href="Ext.html#method-callback" rel="method-callback" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-callback" class="viewSource">view source</a></div><a name="callback"></a><a name="method-callback"></a><a href="Ext.html#" rel="method-callback" class="cls expand">callback</a>(
<span class="pre">Function callback, [Object scope], [Array args], [Number delay]</span>)
 : void</div><div class="description"><div class="short"><p>Execute a callback function in a particular scope. If no function is passed the call is ignored.</p>
</div><div class="long"><p>Execute a callback function in a particular scope. If no function is passed the call is ignored.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>The callback to execute</p>
</div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope to execute in</p>
</div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The arguments to pass to the function</p>
</div></li><li><span class="pre">delay</span> : Number<div class="sub-desc"><p>(optional) Pass a number to delay the call by a number of milliseconds.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-clean" class="member ni"><a href="Ext.html#method-clean" rel="method-clean" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-clean" class="viewSource">view source</a></div><a name="clean"></a><a name="method-clean"></a><a href="Ext.html#" rel="method-clean" class="cls expand">clean</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#clean" rel="Ext.Array#clean" class="docClass">Ext.Array.clean</a>
@deprecated 4.0.0 Use <a href="Ext.Array.clean.html" rel="Ext.Array.clean" class="docClass">Ext.Array.clean</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#clean" rel="Ext.Array#clean" class="docClass">Ext.Array.clean</a>
@deprecated 4.0.0 Use <a href="Ext.Array.clean.html" rel="Ext.Array.clean" class="docClass">Ext.Array.clean</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-clone" class="member ni"><a href="Ext.html#method-clone" rel="method-clone" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-clone" class="viewSource">view source</a></div><a name="clone"></a><a name="method-clone"></a><a href="Ext.html#" rel="method-clone" class="cls expand">clone</a>(
<span class="pre">Mixed item</span>)
 : Mixed</div><div class="description"><div class="short"><p>Clone almost any type of variable including array, object, DOM nodes and Date without keeping the old reference</p>
</div><div class="long"><p>Clone almost any type of variable including array, object, DOM nodes and Date without keeping the old reference</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Mixed<div class="sub-desc"><p>The variable to clone</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>clone</p>
</li></ul></div></div></div><div id="method-copyTo" class="member ni"><a href="Ext.html#method-copyTo" rel="method-copyTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-copyTo" class="viewSource">view source</a></div><a name="copyTo"></a><a name="method-copyTo"></a><a href="Ext.html#" rel="method-copyTo" class="cls expand">copyTo</a>(
<span class="pre">Object dest, Object source, Array/String names, Boolean usePrototypeKeys</span>)
 : Object</div><div class="description"><div class="short">Copies a set of named properties fom the source object to the destination object.

example:
ImageComponent = Ext.exte...</div><div class="long"><p>Copies a set of named properties fom the source object to the destination object.</p>

<p>example:
<pre><code>ImageComponent = Ext.extend(Ext.Component, {
    initComponent: function() {
        this.autoEl = { tag: 'img' };
        MyComponent.superclass.initComponent.apply(this, arguments);
        this.initialBox = Ext.copyTo({}, this.initialConfig, 'x,y,width,height');
    }
});
</code></pre>
Important note: To borrow class prototype methods, use <a href="Ext.Base.html#borrow" rel="Ext.Base#borrow" class="docClass">Ext.Base.borrow</a> instead.

<h3 class="pa">Parameters</h3><ul><li><span class="pre">dest</span> : Object<div class="sub-desc"><p>The destination object.</p>
</div></li><li><span class="pre">source</span> : Object<div class="sub-desc"><p>The source object.</p>
</div></li><li><span class="pre">names</span> : Array/String<div class="sub-desc"><p>Either an Array of property names, or a comma-delimited list
of property names to copy.</p>
</div></li><li><span class="pre">usePrototypeKeys</span> : Boolean<div class="sub-desc"><p>(Optional) Defaults to false. Pass true to copy keys off of the prototype as well as the instance.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The modified object.</p>
</li></ul></div></div></div><div id="method-create" class="member ni"><a href="Ext.html#method-create" rel="method-create" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-create" class="viewSource">view source</a></div><a name="create"></a><a name="method-create"></a><a href="Ext.html#" rel="method-create" class="cls expand">create</a> : void</div><div class="description"><div class="short"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#instantiate" rel="Ext.ClassManager#instantiate" class="docClass">Ext.ClassManager.instantiate</a></p>
</div><div class="long"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#instantiate" rel="Ext.ClassManager#instantiate" class="docClass">Ext.ClassManager.instantiate</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-createByAlias" class="member ni"><a href="Ext.html#method-createByAlias" rel="method-createByAlias" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-createByAlias" class="viewSource">view source</a></div><a name="createByAlias"></a><a name="method-createByAlias"></a><a href="Ext.html#" rel="method-createByAlias" class="cls expand">createByAlias</a> : void</div><div class="description"><div class="short"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#instantiateByAlias" rel="Ext.ClassManager#instantiateByAlias" class="docClass">Ext.ClassManager.instantiateByAlias</a></p>
</div><div class="long"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#instantiateByAlias" rel="Ext.ClassManager#instantiateByAlias" class="docClass">Ext.ClassManager.instantiateByAlias</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-decode" class="member ni"><a href="Ext.html#method-decode" rel="method-decode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/JSON3.html#Ext-method-decode" class="viewSource">view source</a></div><a name="decode"></a><a name="method-decode"></a><a href="Ext.html#" rel="method-decode" class="cls expand">decode</a>(
<span class="pre">String json, [Boolean safe]</span>)
 : Object</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.JSON.html#decode" rel="Ext.JSON#decode" class="docClass">Ext.JSON.decode</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.JSON.html#decode" rel="Ext.JSON#decode" class="docClass">Ext.JSON.decode</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">json</span> : String<div class="sub-desc"><p>The JSON string</p>
</div></li><li><span class="pre">safe</span> : Boolean<div class="sub-desc"><p>(optional) Whether to return null or throw an exception if the JSON is invalid.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The resulting object</p>
</li></ul></div></div></div><div id="method-defer" class="member ni"><a href="Ext.html#method-defer" rel="method-defer" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Function.html#Ext-method-defer" class="viewSource">view source</a></div><a name="defer"></a><a name="method-defer"></a><a href="Ext.html#" rel="method-defer" class="cls expand">defer</a> : void</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.Function.html#defer" rel="Ext.Function#defer" class="docClass">Ext.Function.defer</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.Function.html#defer" rel="Ext.Function#defer" class="docClass">Ext.Function.defer</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-define" class="member ni"><a href="Ext.html#method-define" rel="method-define" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-define" class="viewSource">view source</a></div><a name="define"></a><a name="method-define"></a><a href="Ext.html#" rel="method-define" class="cls expand">define</a> : void</div><div class="description"><div class="short"><p>Convenient shorthand for <a href="Ext.ClassManager.html#create" rel="Ext.ClassManager#create" class="docClass">Ext.ClassManager.create</a>, see detailed <a href="Ext.Class.html" rel="Ext.Class" class="docClass">explanation</a></p>
</div><div class="long"><p>Convenient shorthand for <a href="Ext.ClassManager.html#create" rel="Ext.ClassManager#create" class="docClass">Ext.ClassManager.create</a>, see detailed <a href="Ext.Class.html" rel="Ext.Class" class="docClass">explanation</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-destroy" class="member ni"><a href="Ext.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.html#" rel="method-destroy" class="cls expand">destroy</a>(
<span class="pre">Mixed arg1, [Mixed arg2], [Mixed etc]</span>)
 : void</div><div class="description"><div class="short">Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
DOM (if applicab...</div><div class="long"><p>Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
DOM (if applicable) and calling their destroy functions (if available).  This method is primarily
intended for arguments of type <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> and <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>, but any subclass of
<a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="docClass">Ext.util.Observable</a> can be passed in.  Any number of elements and/or components can be
passed into this function in a single call as separate arguments.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">arg1</span> : Mixed<div class="sub-desc"><p>An <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>, <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>, or an Array of either of these to destroy</p>
</div></li><li><span class="pre">arg2</span> : Mixed<div class="sub-desc"><p>(optional)</p>
</div></li><li><span class="pre">etc</span> : Mixed<div class="sub-desc"><p>... (optional)</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-destroyMembers" class="member ni"><a href="Ext.html#method-destroyMembers" rel="method-destroyMembers" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-destroyMembers" class="viewSource">view source</a></div><a name="destroyMembers"></a><a name="method-destroyMembers"></a><a href="Ext.html#" rel="method-destroyMembers" class="cls expand">destroyMembers</a>(
<span class="pre">Object o, Mixed arg1, Mixed etc, Object etc</span>)
 : void</div><div class="description"><div class="short"><p>Attempts to destroy and then remove a set of named properties of the passed object.</p>
</div><div class="long"><p>Attempts to destroy and then remove a set of named properties of the passed object.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The object (most likely a Component) who's properties you wish to destroy.</p>
</div></li><li><span class="pre">arg1</span> : Mixed<div class="sub-desc"><p>The name of the property to destroy and remove from the object.</p>
</div></li><li><span class="pre">etc</span> : Mixed<div class="sub-desc"><p>... More property names to destroy and remove.</p>
</div></li><li><span class="pre">etc</span> : Object<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-each" class="member ni"><a href="Ext.html#method-each" rel="method-each" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-each" class="viewSource">view source</a></div><a name="each"></a><a name="method-each"></a><a href="Ext.html#" rel="method-each" class="cls expand">each</a> : void</div><div class="description"><div class="short"><p>Convenient alias to <a href="Ext.Array.html#each" rel="Ext.Array#each" class="docClass">Ext.Array.each</a></p>
</div><div class="long"><p>Convenient alias to <a href="Ext.Array.html#each" rel="Ext.Array#each" class="docClass">Ext.Array.each</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-emptyFn" class="member ni"><a href="Ext.html#method-emptyFn" rel="method-emptyFn" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-emptyFn" class="viewSource">view source</a></div><a name="emptyFn"></a><a name="method-emptyFn"></a><a href="Ext.html#" rel="method-emptyFn" class="cls expand">emptyFn</a> : void</div><div class="description"><div class="short"><p>A reusable empty function</p>
</div><div class="long"><p>A reusable empty function</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-encode" class="member ni"><a href="Ext.html#method-encode" rel="method-encode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/JSON3.html#Ext-method-encode" class="viewSource">view source</a></div><a name="encode"></a><a name="method-encode"></a><a href="Ext.html#" rel="method-encode" class="cls expand">encode</a>(
<span class="pre">Mixed o</span>)
 : String</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.JSON.html#encode" rel="Ext.JSON#encode" class="docClass">Ext.JSON.encode</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.JSON.html#encode" rel="Ext.JSON#encode" class="docClass">Ext.JSON.encode</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Mixed<div class="sub-desc"><p>The variable to encode</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The JSON string</p>
</li></ul></div></div></div><div id="method-escapeRe" class="member ni"><a href="Ext.html#method-escapeRe" rel="method-escapeRe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-escapeRe" class="viewSource">view source</a></div><a name="escapeRe"></a><a name="method-escapeRe"></a><a href="Ext.html#" rel="method-escapeRe" class="cls expand">escapeRe</a>(
<span class="pre">String str</span>)
 : String</div><div class="description"><div class="short"><p>Escapes the passed string for use in a regular expression</p>
</div><div class="long"><p>Escapes the passed string for use in a regular expression</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">str</span> : String<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>@deprecated 4.0.0 Use <a href="Ext.String.html#escapeRegex" rel="Ext.String#escapeRegex" class="docClass">Ext.String.escapeRegex</a> instead</p>
</li></ul></div></div></div><div id="method-exclude" class="member ni"><a href="Ext.html#method-exclude" rel="method-exclude" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Loader.html#Ext-method-exclude" class="viewSource">view source</a></div><a name="exclude"></a><a name="method-exclude"></a><a href="Ext.html#" rel="method-exclude" class="cls expand">exclude</a> : void</div><div class="description"><div class="short"><p>Convenient shortcut to <a href="Ext.Loader.html#exclude" rel="Ext.Loader#exclude" class="docClass">Ext.Loader.exclude</a></p>
</div><div class="long"><p>Convenient shortcut to <a href="Ext.Loader.html#exclude" rel="Ext.Loader#exclude" class="docClass">Ext.Loader.exclude</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-extend" class="member ni"><a href="Ext.html#method-extend" rel="method-extend" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-extend" class="viewSource">view source</a></div><a name="extend"></a><a name="method-extend"></a><a href="Ext.html#" rel="method-extend" class="cls expand">extend</a>(
<span class="pre">Function superclass, Object overrides</span>)
 : Function</div><div class="description"><div class="short"><p>This method deprecated. Use <a href="Ext.html#define" rel="Ext#define" class="docClass">Ext.define</a> instead.
@function</p>
</div><div class="long"><p>This method deprecated. Use <a href="Ext.html#define" rel="Ext#define" class="docClass">Ext.define</a> instead.
@function</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">superclass</span> : Function<div class="sub-desc">
</div></li><li><span class="pre">overrides</span> : Object<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Function</span>&nbsp; &nbsp;<p>The subclass constructor from the <tt>overrides</tt> parameter, or a generated one if not provided.
@deprecated 4.0.0 Use <a href="Ext.html#define" rel="Ext#define" class="docClass">Ext.define</a> instead</p>
</li></ul></div></div></div><div id="method-flatten" class="member ni"><a href="Ext.html#method-flatten" rel="method-flatten" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-flatten" class="viewSource">view source</a></div><a name="flatten"></a><a name="method-flatten"></a><a href="Ext.html#" rel="method-flatten" class="cls expand">flatten</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#flatten" rel="Ext.Array#flatten" class="docClass">Ext.Array.flatten</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#flatten" rel="Ext.Array#flatten" class="docClass">Ext.Array.flatten</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#flatten" rel="Ext.Array#flatten" class="docClass">Ext.Array.flatten</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#flatten" rel="Ext.Array#flatten" class="docClass">Ext.Array.flatten</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-fly" class="member ni"><a href="Ext.html#method-fly" rel="method-fly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Element2.html#Ext-method-fly" class="viewSource">view source</a></div><a name="fly"></a><a name="method-fly"></a><a href="Ext.html#" rel="method-fly" class="cls expand">fly</a>(
<span class="pre">String/HTMLElement el, [String named]</span>)
 : Element</div><div class="description"><div class="short">Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to t...</div><div class="long"><p>Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
the dom node can be overwritten by other code. Shorthand of <a href="Ext.core.Element.html#fly" rel="Ext.core.Element#fly" class="docClass">Ext.core.Element.fly</a></p>


<p>Use this to make one-time references to DOM elements which are not going to be accessed again either by
application code, or by Ext's classes. If accessing an element which will be processed regularly, then <a href="Ext.html#get" rel="Ext#get" class="docClass">Ext.get</a>
will be more appropriate to take advantage of the caching provided by the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> class.</p>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : String/HTMLElement<div class="sub-desc"><p>The dom node or id</p>
</div></li><li><span class="pre">named</span> : String<div class="sub-desc"><p>(optional) Allows for creation of named reusable flyweights to prevent conflicts
(e.g. internally <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses "_global")</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>The shared Element object (or null if no matching element was found)</p>
</li></ul></div></div></div><div id="method-get" class="member ni"><a href="Ext.html#method-get" rel="method-get" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Element2.html#Ext-method-get" class="viewSource">view source</a></div><a name="get"></a><a name="method-get"></a><a href="Ext.html#" rel="method-get" class="cls expand">get</a>(
<span class="pre">Mixed el</span>)
 : Element</div><div class="description"><div class="short">Retrieves Ext.core.Element objects.

This method does not retrieve Components. This method
retrieves Ext.core.Element...</div><div class="long"><p>Retrieves <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> objects.</p>

<p><b>This method does not retrieve <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a>s.</b> This method
retrieves <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> objects which encapsulate DOM elements. To retrieve a Component by
its ID, use <a href="Ext.ComponentManager.html#get" rel="Ext.ComponentManager#get" class="docClass">Ext.ComponentManager.get</a>.</p>


<p>Uses simple caching to consistently return the same object. Automatically fixes if an
object was recreated with the same id via AJAX or DOM.</p>


<p>Shorthand of <a href="Ext.core.Element.html#get" rel="Ext.core.Element#get" class="docClass">Ext.core.Element.get</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The id of the node, a DOM Node or an existing Element.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>The Element object (or null if no matching element was found)</p>
</li></ul></div></div></div><div id="method-getBody" class="member ni"><a href="Ext.html#method-getBody" rel="method-getBody" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getBody" class="viewSource">view source</a></div><a name="getBody"></a><a name="method-getBody"></a><a href="Ext.html#" rel="method-getBody" class="cls expand">getBody</a> : void</div><div class="description"><div class="short"><p>Returns the current document body as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
</div><div class="long"><p>Returns the current document body as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.core.Element The document body</p>
</li></ul></div></div></div><div id="method-getClassName" class="member ni"><a href="Ext.html#method-getClassName" rel="method-getClassName" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-getClassName" class="viewSource">view source</a></div><a name="getClassName"></a><a name="method-getClassName"></a><a href="Ext.html#" rel="method-getClassName" class="cls expand">getClassName</a> : void</div><div class="description"><div class="short"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#getClass" rel="Ext.ClassManager#getClass" class="docClass">Ext.ClassManager.getClass</a></p>
</div><div class="long"><p>Convenient shorthand, see <a href="Ext.ClassManager.html#getClass" rel="Ext.ClassManager#getClass" class="docClass">Ext.ClassManager.getClass</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-getCmp" class="member ni"><a href="Ext.html#method-getCmp" rel="method-getCmp" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getCmp" class="viewSource">view source</a></div><a name="getCmp"></a><a name="method-getCmp"></a><a href="Ext.html#" rel="method-getCmp" class="cls expand">getCmp</a>(
<span class="pre">String id</span>)
 : void</div><div class="description"><div class="short"><p>This is shorthand reference to <a href="Ext.ComponentManager.html#get" rel="Ext.ComponentManager#get" class="docClass">Ext.ComponentManager.get</a>.
Looks up an existing <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> by <a href="Ext.Component.html#id" rel="Ext.Component#id" class="docClass">id</a></p>
</div><div class="long"><p>This is shorthand reference to <a href="Ext.ComponentManager.html#get" rel="Ext.ComponentManager#get" class="docClass">Ext.ComponentManager.get</a>.
Looks up an existing <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> by <a href="Ext.Component.html#id" rel="Ext.Component#id" class="docClass">id</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : String<div class="sub-desc"><p>The component <a href="Ext.Component.html#id" rel="Ext.Component#id" class="docClass">id</a></p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component The Component, <tt>undefined</tt> if not found, or <tt>null</tt> if a
Class was found.</p>
</li></ul></div></div></div><div id="method-getDoc" class="member ni"><a href="Ext.html#method-getDoc" rel="method-getDoc" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getDoc" class="viewSource">view source</a></div><a name="getDoc"></a><a name="method-getDoc"></a><a href="Ext.html#" rel="method-getDoc" class="cls expand">getDoc</a> : void</div><div class="description"><div class="short"><p>Returns the current HTML document object as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
</div><div class="long"><p>Returns the current HTML document object as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.core.Element The document</p>
</li></ul></div></div></div><div id="method-getDom" class="member ni"><a href="Ext.html#method-getDom" rel="method-getDom" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getDom" class="viewSource">view source</a></div><a name="getDom"></a><a name="method-getDom"></a><a href="Ext.html#" rel="method-getDom" class="cls expand">getDom</a>(
<span class="pre">Mixed el, Object strict</span>)
 : void</div><div class="description"><div class="short">Return the dom node for the passed String (id), dom node, or Ext.core.Element.
Optional 'strict' flag is needed for I...</div><div class="long"><p>Return the dom node for the passed String (id), dom node, or <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.
Optional 'strict' flag is needed for IE since it can return 'name' and
'id' elements by using getElementById.
Here are some examples:</p>

<pre><code>// gets dom node based on id
var elDom = Ext.getDom('elId');
// gets dom node based on the dom node
var elDom1 = Ext.getDom(elDom);

// If we don&#39;t know if we are working with an
// <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> or a dom node use Ext.getDom
function(el){
    var dom = Ext.getDom(el);
    // do something with the dom node
}
</code></pre>


<p><b>Note</b>: the dom node to be found actually needs to exist (be rendered, etc)
when this method is called to be successful.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc">
</div></li><li><span class="pre">strict</span> : Object<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>HTMLElement</p>
</li></ul></div></div></div><div id="method-getHead" class="member ni"><a href="Ext.html#method-getHead" rel="method-getHead" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getHead" class="viewSource">view source</a></div><a name="getHead"></a><a name="method-getHead"></a><a href="Ext.html#" rel="method-getHead" class="cls expand">getHead</a> : void</div><div class="description"><div class="short"><p>Returns the current document head as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
</div><div class="long"><p>Returns the current document head as an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a>.</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.core.Element The document head</p>
</li></ul></div></div></div><div id="method-getOrientation" class="member ni"><a href="Ext.html#method-getOrientation" rel="method-getOrientation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getOrientation" class="viewSource">view source</a></div><a name="getOrientation"></a><a name="method-getOrientation"></a><a href="Ext.html#" rel="method-getOrientation" class="cls expand">getOrientation</a> : String</div><div class="description"><div class="short"><p>Returns the current orientation of the mobile device</p>
</div><div class="long"><p>Returns the current orientation of the mobile device</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>Either 'portrait' or 'landscape'</p>
</li></ul></div></div></div><div id="method-getScrollBarWidth" class="member ni"><a href="Ext.html#method-getScrollBarWidth" rel="method-getScrollBarWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-getScrollBarWidth" class="viewSource">view source</a></div><a name="getScrollBarWidth"></a><a name="method-getScrollBarWidth"></a><a href="Ext.html#" rel="method-getScrollBarWidth" class="cls expand">getScrollBarWidth</a>(
<span class="pre">[Boolean force]</span>)
 : Number</div><div class="description"><div class="short">Utility method for getting the width of the browser scrollbar. This can differ depending on
operating system settings...</div><div class="long"><p>Utility method for getting the width of the browser scrollbar. This can differ depending on
operating system settings, such as the theme or font size.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">force</span> : Boolean<div class="sub-desc"><p>(optional) true to force a recalculation of the value.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The width of the scrollbar.</p>
</li></ul></div></div></div><div id="method-getStore" class="member ni"><a href="Ext.html#method-getStore" rel="method-getStore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/StoreManager.html#Ext-method-getStore" class="viewSource">view source</a></div><a name="getStore"></a><a name="method-getStore"></a><a href="Ext.html#" rel="method-getStore" class="cls expand">getStore</a>(
<span class="pre">String/Object id</span>)
 : Ext.data.Store</div><div class="description"><div class="short"><p>Gets a registered Store by id (shortcut to <a href="Ext.html#lookup" rel="Ext#lookup" class="docClass">lookup</a>)</p>
</div><div class="long"><p>Gets a registered Store by id (shortcut to <a href="Ext.html#lookup" rel="Ext#lookup" class="docClass">lookup</a>)</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : String/Object<div class="sub-desc"><p>The id of the Store, or a Store instance</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.data.Store</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-htmlDecode" class="member ni"><a href="Ext.html#method-htmlDecode" rel="method-htmlDecode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-htmlDecode" class="viewSource">view source</a></div><a name="htmlDecode"></a><a name="method-htmlDecode"></a><a href="Ext.html#" rel="method-htmlDecode" class="cls expand">htmlDecode</a>(
<span class="pre">String value</span>)
 : String</div><div class="description"><div class="short"><p>Convert certain characters (&amp;, &lt;, >, and ') from their HTML character equivalents.</p>
</div><div class="long"><p>Convert certain characters (&amp;, &lt;, >, and ') from their HTML character equivalents.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : String<div class="sub-desc"><p>The string to decode</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The decoded text</p>
</li></ul></div></div></div><div id="method-htmlEncode" class="member ni"><a href="Ext.html#method-htmlEncode" rel="method-htmlEncode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-htmlEncode" class="viewSource">view source</a></div><a name="htmlEncode"></a><a name="method-htmlEncode"></a><a href="Ext.html#" rel="method-htmlEncode" class="cls expand">htmlEncode</a>(
<span class="pre">String value</span>)
 : String</div><div class="description"><div class="short">Convert certain characters (&amp;, &lt;, >, and ') to their HTML character equivalents for literal display in web pag...</div><div class="long"><p>Convert certain characters (&amp;, &lt;, >, and ') to their HTML character equivalents for literal display in web pages.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : String<div class="sub-desc"><p>The string to encode</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The encoded text</p>
</li></ul></div></div></div><div id="method-id" class="member ni"><a href="Ext.html#method-id" rel="method-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-id" class="viewSource">view source</a></div><a name="id"></a><a name="method-id"></a><a href="Ext.html#" rel="method-id" class="cls expand">id</a>(
<span class="pre">[Mixed el], [String prefix]</span>)
 : String</div><div class="description"><div class="short"><p>Generates unique ids. If the element already has an id, it is unchanged</p>
</div><div class="long"><p>Generates unique ids. If the element already has an id, it is unchanged</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>(optional) The element to generate an id for</p>
</div></li><li><span class="pre">prefix</span> : String<div class="sub-desc"><p>(optional) Id prefix (defaults "ext-gen")</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The generated Id.</p>
</li></ul></div></div></div><div id="method-invoke" class="member ni"><a href="Ext.html#method-invoke" rel="method-invoke" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-invoke" class="viewSource">view source</a></div><a name="invoke"></a><a name="method-invoke"></a><a href="Ext.html#" rel="method-invoke" class="cls expand">invoke</a>(
<span class="pre">Array|NodeList arr, String methodName, ...* args</span>)
 : Array</div><div class="description"><div class="short">Invokes a method on each item in an Array.

// Example:
Ext.invoke(Ext.query("p"), "getAttribute", "id");
// [el1.get...</div><div class="long"><p>Invokes a method on each item in an Array.</p>

<pre><code>// Example:
Ext.invoke(Ext.query("p"), "getAttribute", "id");
// [el1.getAttribute("id"), el2.getAttribute("id"), ..., elN.getAttribute("id")]
</code></pre>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">arr</span> : Array|NodeList<div class="sub-desc"><p>The Array of items to invoke the method on.</p>
</div></li><li><span class="pre">methodName</span> : String<div class="sub-desc"><p>The method name to invoke.</p>
</div></li><li><span class="pre">args</span> : ...*<div class="sub-desc"><p>Arguments to send into the method invocation.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The results of invoking the method on each item in the array.
@deprecated 4.0.0 Will be removed in the next major version</p>
</li></ul></div></div></div><div id="method-isBoolean" class="member ni"><a href="Ext.html#method-isBoolean" rel="method-isBoolean" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isBoolean" class="viewSource">view source</a></div><a name="isBoolean"></a><a name="method-isBoolean"></a><a href="Ext.html#" rel="method-isBoolean" class="cls expand">isBoolean</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a boolean.</p>
</div><div class="long"><p>Returns true if the passed value is a boolean.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isDate" class="member ni"><a href="Ext.html#method-isDate" rel="method-isDate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isDate" class="viewSource">view source</a></div><a name="isDate"></a><a name="method-isDate"></a><a href="Ext.html#" rel="method-isDate" class="cls expand">isDate</a>(
<span class="pre">Object object</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a JavaScript Date object, false otherwise.</p>
</div><div class="long"><p>Returns true if the passed value is a JavaScript Date object, false otherwise.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">object</span> : Object<div class="sub-desc"><p>The object to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isDefined" class="member ni"><a href="Ext.html#method-isDefined" rel="method-isDefined" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isDefined" class="viewSource">view source</a></div><a name="isDefined"></a><a name="method-isDefined"></a><a href="Ext.html#" rel="method-isDefined" class="cls expand">isDefined</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is defined.</p>
</div><div class="long"><p>Returns true if the passed value is defined.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isElement" class="member ni"><a href="Ext.html#method-isElement" rel="method-isElement" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isElement" class="viewSource">view source</a></div><a name="isElement"></a><a name="method-isElement"></a><a href="Ext.html#" rel="method-isElement" class="cls expand">isElement</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is an HTMLElement</p>
</div><div class="long"><p>Returns true if the passed value is an HTMLElement</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isEmpty" class="member ni"><a href="Ext.html#method-isEmpty" rel="method-isEmpty" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isEmpty" class="viewSource">view source</a></div><a name="isEmpty"></a><a name="method-isEmpty"></a><a href="Ext.html#" rel="method-isEmpty" class="cls expand">isEmpty</a>(
<span class="pre">Mixed value, [Boolean allowEmptyString]</span>)
 : Boolean</div><div class="description"><div class="short">Returns true if the passed value is empty, false otherwise. The value is deemed to be empty if it is either:


null
u...</div><div class="long"><p>Returns true if the passed value is empty, false otherwise. The value is deemed to be empty if it is either:</p>

<ul>
<li><code>null</code></li>
<li><code>undefined</code></li>
<li>a zero-length array</li>
<li>a zero-length string (Unless the <code>allowEmptyString</code> parameter is set to <code>true</code>)</li>
</ul>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li><li><span class="pre">allowEmptyString</span> : Boolean<div class="sub-desc"><p>(optional) true to allow empty strings (defaults to false)</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isIterable" class="member ni"><a href="Ext.html#method-isIterable" rel="method-isIterable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isIterable" class="viewSource">view source</a></div><a name="isIterable"></a><a name="method-isIterable"></a><a href="Ext.html#" rel="method-isIterable" class="cls expand">isIterable</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is iterable, false otherwise</p>
</div><div class="long"><p>Returns true if the passed value is iterable, false otherwise</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isNumber" class="member ni"><a href="Ext.html#method-isNumber" rel="method-isNumber" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isNumber" class="viewSource">view source</a></div><a name="isNumber"></a><a name="method-isNumber"></a><a href="Ext.html#" rel="method-isNumber" class="cls expand">isNumber</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a number. Returns false for non-finite numbers.</p>
</div><div class="long"><p>Returns true if the passed value is a number. Returns false for non-finite numbers.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isNumeric" class="member ni"><a href="Ext.html#method-isNumeric" rel="method-isNumeric" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isNumeric" class="viewSource">view source</a></div><a name="isNumeric"></a><a name="method-isNumeric"></a><a href="Ext.html#" rel="method-isNumeric" class="cls expand">isNumeric</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Validates that a value is numeric.</p>
</div><div class="long"><p>Validates that a value is numeric.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>Examples: 1, '1', '2.34'</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if numeric, false otherwise</p>
</li></ul></div></div></div><div id="method-isPrimitive" class="member ni"><a href="Ext.html#method-isPrimitive" rel="method-isPrimitive" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isPrimitive" class="viewSource">view source</a></div><a name="isPrimitive"></a><a name="method-isPrimitive"></a><a href="Ext.html#" rel="method-isPrimitive" class="cls expand">isPrimitive</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean.</p>
</div><div class="long"><p>Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isString" class="member ni"><a href="Ext.html#method-isString" rel="method-isString" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isString" class="viewSource">view source</a></div><a name="isString"></a><a name="method-isString"></a><a href="Ext.html#" rel="method-isString" class="cls expand">isString</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a string.</p>
</div><div class="long"><p>Returns true if the passed value is a string.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-isTextNode" class="member ni"><a href="Ext.html#method-isTextNode" rel="method-isTextNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-isTextNode" class="viewSource">view source</a></div><a name="isTextNode"></a><a name="method-isTextNode"></a><a href="Ext.html#" rel="method-isTextNode" class="cls expand">isTextNode</a>(
<span class="pre">Mixed value</span>)
 : Boolean</div><div class="description"><div class="short"><p>Returns true if the passed value is a TextNode</p>
</div><div class="long"><p>Returns true if the passed value is a TextNode</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-iterate" class="member ni"><a href="Ext.html#method-iterate" rel="method-iterate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-iterate" class="viewSource">view source</a></div><a name="iterate"></a><a name="method-iterate"></a><a href="Ext.html#" rel="method-iterate" class="cls expand">iterate</a>(
<span class="pre">Object/Array object, Function fn, Object scope</span>)
 : void</div><div class="description"><div class="short">Iterates either an array or an object. This method delegates to
Ext.Array.each if the given value is iterable, and Ex...</div><div class="long"><p>Iterates either an array or an object. This method delegates to
<a href="Ext.Array.html#each" rel="Ext.Array#each" class="docClass">Ext.Array.each</a> if the given value is iterable, and <a href="Ext.Object.html#each" rel="Ext.Object#each" class="docClass">Ext.Object.each</a> otherwise.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">object</span> : Object/Array<div class="sub-desc"><p>The object or array to be iterated.</p>
</div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to be called for each iteration. See and <a href="Ext.Array.html#each" rel="Ext.Array#each" class="docClass">Ext.Array.each</a> and
<a href="Ext.Object.html#each" rel="Ext.Object#each" class="docClass">Ext.Object.each</a> for detailed lists of arguments passed to this function depending on the given object
type that is being iterated.</p>
</div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(Optional) The scope (<code>this</code> reference) in which the specified function is executed.
Defaults to the object being iterated itself.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-max" class="member ni"><a href="Ext.html#method-max" rel="method-max" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-max" class="viewSource">view source</a></div><a name="max"></a><a name="method-max"></a><a href="Ext.html#" rel="method-max" class="cls expand">max</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#max" rel="Ext.Array#max" class="docClass">Ext.Array.max</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#max" rel="Ext.Array#max" class="docClass">Ext.Array.max</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#max" rel="Ext.Array#max" class="docClass">Ext.Array.max</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#max" rel="Ext.Array#max" class="docClass">Ext.Array.max</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-mean" class="member ni"><a href="Ext.html#method-mean" rel="method-mean" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-mean" class="viewSource">view source</a></div><a name="mean"></a><a name="method-mean"></a><a href="Ext.html#" rel="method-mean" class="cls expand">mean</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#mean" rel="Ext.Array#mean" class="docClass">Ext.Array.mean</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#mean" rel="Ext.Array#mean" class="docClass">Ext.Array.mean</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#mean" rel="Ext.Array#mean" class="docClass">Ext.Array.mean</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#mean" rel="Ext.Array#mean" class="docClass">Ext.Array.mean</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-merge" class="member ni"><a href="Ext.html#method-merge" rel="method-merge" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Object.html#Ext-method-merge" class="viewSource">view source</a></div><a name="merge"></a><a name="method-merge"></a><a href="Ext.html#" rel="method-merge" class="cls expand">merge</a> : void</div><div class="description"><div class="short"><p>A convenient alias method for <a href="Ext.Object.html#merge" rel="Ext.Object#merge" class="docClass">Ext.Object.merge</a></p>
</div><div class="long"><p>A convenient alias method for <a href="Ext.Object.html#merge" rel="Ext.Object#merge" class="docClass">Ext.Object.merge</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-min" class="member ni"><a href="Ext.html#method-min" rel="method-min" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-min" class="viewSource">view source</a></div><a name="min"></a><a name="method-min"></a><a href="Ext.html#" rel="method-min" class="cls expand">min</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#min" rel="Ext.Array#min" class="docClass">Ext.Array.min</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#min" rel="Ext.Array#min" class="docClass">Ext.Array.min</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#min" rel="Ext.Array#min" class="docClass">Ext.Array.min</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#min" rel="Ext.Array#min" class="docClass">Ext.Array.min</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-namespace" class="member ni"><a href="Ext.html#method-namespace" rel="method-namespace" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-namespace" class="viewSource">view source</a></div><a name="namespace"></a><a name="method-namespace"></a><a href="Ext.html#" rel="method-namespace" class="cls expand">namespace</a>(
<span class="pre">String namespace1, String namespace2, String etc</span>)
 : Object</div><div class="description"><div class="short">Creates namespaces to be used for scoping variables and classes so that they are not global.
Specifying the last node...</div><div class="long"><p>Creates namespaces to be used for scoping variables and classes so that they are not global.
Specifying the last node of a namespace implicitly creates all other nodes. Usage:</p>

<pre><code>Ext.namespace('Company', 'Company.data');

 // equivalent and preferable to the above syntax
Ext.namespace('Company.data');

Company.Widget = function() { ... };

Company.data.CustomStore = function(config) { ... };
</code></pre>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">namespace1</span> : String<div class="sub-desc">
</div></li><li><span class="pre">namespace2</span> : String<div class="sub-desc">
</div></li><li><span class="pre">etc</span> : String<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The namespace object. (If multiple arguments are passed, this will be the last namespace created)
@function</p>
</li></ul></div></div></div><div id="method-ns" class="member ni"><a href="Ext.html#method-ns" rel="method-ns" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-ns" class="viewSource">view source</a></div><a name="ns"></a><a name="method-ns"></a><a href="Ext.html#" rel="method-ns" class="cls expand">ns</a> : void</div><div class="description"><div class="short"><p>Convenient alias for <a href="Ext.html#namespace" rel="Ext#namespace" class="docClass">Ext.namespace</a></p>
</div><div class="long"><p>Convenient alias for <a href="Ext.html#namespace" rel="Ext#namespace" class="docClass">Ext.namespace</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-num" class="member ni"><a href="Ext.html#method-num" rel="method-num" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Number3.html#Ext-method-num" class="viewSource">view source</a></div><a name="num"></a><a name="method-num"></a><a href="Ext.html#" rel="method-num" class="cls expand">num</a> : void</div><div class="description"><div class="short"><p>This method is deprecated, please use <a href="Ext.Number.html#from" rel="Ext.Number#from" class="docClass">Ext.Number.from</a> instead</p>

<p>@deprecated 4.0.0 Replaced by Ext.Number.from</p>
</div><div class="long"><p>This method is deprecated, please use <a href="Ext.Number.html#from" rel="Ext.Number#from" class="docClass">Ext.Number.from</a> instead</p>

<p>@deprecated 4.0.0 Replaced by Ext.Number.from</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-onDocumentReady" class="member ni"><a href="Ext.html#method-onDocumentReady" rel="method-onDocumentReady" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/EventManager.html#Ext-method-onDocumentReady" class="viewSource">view source</a></div><a name="onDocumentReady"></a><a name="method-onDocumentReady"></a><a href="Ext.html#" rel="method-onDocumentReady" class="cls expand">onDocumentReady</a> : void</div><div class="description"><div class="short"><p>Alias for <a href="Ext.EventManager.html#onDocumentReady" rel="Ext.EventManager#onDocumentReady" class="docClass">Ext.EventManager.onDocumentReady</a></p>
</div><div class="long"><p>Alias for <a href="Ext.EventManager.html#onDocumentReady" rel="Ext.EventManager#onDocumentReady" class="docClass">Ext.EventManager.onDocumentReady</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-onReady" class="member ni"><a href="Ext.html#method-onReady" rel="method-onReady" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/EventManager.html#Ext-method-onReady" class="viewSource">view source</a></div><a name="onReady"></a><a name="method-onReady"></a><a href="Ext.html#" rel="method-onReady" class="cls expand">onReady</a>(
<span class="pre">Object fn, Object scope, Object options</span>)
 : void</div><div class="description"><div class="short"><p>Alias for <a href="Ext.Loader.html#onReady" rel="Ext.Loader#onReady" class="docClass">Ext.Loader.onReady</a> with withDomReady set to true</p>
</div><div class="long"><p>Alias for <a href="Ext.Loader.html#onReady" rel="Ext.Loader#onReady" class="docClass">Ext.Loader.onReady</a> with withDomReady set to true</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Object<div class="sub-desc">
</div></li><li><span class="pre">scope</span> : Object<div class="sub-desc">
</div></li><li><span class="pre">options</span> : Object<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-override" class="member ni"><a href="Ext.html#method-override" rel="method-override" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-override" class="viewSource">view source</a></div><a name="override"></a><a name="method-override"></a><a href="Ext.html#" rel="method-override" class="cls expand">override</a>(
<span class="pre">Object cls, Object overrides</span>)
 : void</div><div class="description"><div class="short">Proxy to Ext.Base.override. Please refer Ext.Base.override for further details.

Ext.define('My.cool.Class', {
    sa...</div><div class="long"><p>Proxy to <a href="Ext.Base.html#override" rel="Ext.Base#override" class="docClass">Ext.Base.override</a>. Please refer <a href="Ext.Base.html#override" rel="Ext.Base#override" class="docClass">Ext.Base.override</a> for further details.</p>

<pre><code>Ext.define('My.cool.Class', {
    sayHi: function() {
        alert('Hi!');
    }
}

Ext.override(My.cool.Class, {
    sayHi: function() {
        alert('About to say...');

        this.callOverridden();
    }
});

var cool = new My.cool.Class();
cool.sayHi(); // alerts 'About to say...'
              // alerts 'Hi!'
</code></pre>

<p>Please note that <code>this.callOverridden()</code> only works if the class was previously
created with {@link Ext#define)</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : Object<div class="sub-desc"><p>The class to override</p>
</div></li><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>The list of functions to add to origClass. This should be specified as an object literal
containing one or more methods.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-partition" class="member ni"><a href="Ext.html#method-partition" rel="method-partition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-partition" class="viewSource">view source</a></div><a name="partition"></a><a name="method-partition"></a><a href="Ext.html#" rel="method-partition" class="cls expand">partition</a>(
<span class="pre">Array|NodeList arr, [Function truth]</span>)
 : Array</div><div class="description"><div class="short">Partitions the set into two sets: a true set and a false set.
Example:
Example2:

// Example 1:
Ext.partition([true, ...</div><div class="long"><p>Partitions the set into two sets: a true set and a false set.
Example:
Example2:</p>

<pre><code>// Example 1:
Ext.partition([true, false, true, true, false]); // [[true, true, true], [false, false]]

// Example 2:
Ext.partition(
    Ext.query("p"),
    function(val){
        return val.className == "class1"
    }
);
// true are those paragraph elements with a className of "class1",
// false set are those that do not have that className.
</code></pre>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">arr</span> : Array|NodeList<div class="sub-desc"><p>The array to partition</p>
</div></li><li><span class="pre">truth</span> : Function<div class="sub-desc"><p>(optional) a function to determine truth.  If this is omitted the element</p>

<pre><code>              itself must be able to be evaluated for its truthfulness.
</code></pre>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>[true<Array>,false<Array>]
@deprecated 4.0.0 Will be removed in the next major version</p>
</li></ul></div></div></div><div id="method-pass" class="member ni"><a href="Ext.html#method-pass" rel="method-pass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Function.html#Ext-method-pass" class="viewSource">view source</a></div><a name="pass"></a><a name="method-pass"></a><a href="Ext.html#" rel="method-pass" class="cls expand">pass</a> : void</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.Function.html#pass" rel="Ext.Function#pass" class="docClass">Ext.Function.pass</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.Function.html#pass" rel="Ext.Function#pass" class="docClass">Ext.Function.pass</a></p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-pluck" class="member ni"><a href="Ext.html#method-pluck" rel="method-pluck" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-pluck" class="viewSource">view source</a></div><a name="pluck"></a><a name="method-pluck"></a><a href="Ext.html#" rel="method-pluck" class="cls expand">pluck</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#pluck" rel="Ext.Array#pluck" class="docClass">Ext.Array.pluck</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#pluck" rel="Ext.Array#pluck" class="docClass">Ext.Array.pluck</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#pluck" rel="Ext.Array#pluck" class="docClass">Ext.Array.pluck</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#pluck" rel="Ext.Array#pluck" class="docClass">Ext.Array.pluck</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-preg" class="member ni"><a href="Ext.html#method-preg" rel="method-preg" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/PluginManager.html#Ext-method-preg" class="viewSource">view source</a></div><a name="preg"></a><a name="method-preg"></a><a href="Ext.html#" rel="method-preg" class="cls expand">preg</a>(
<span class="pre">String ptype, Constructor cls</span>)
 : void</div><div class="description"><div class="short"><p>Shorthand for <a href="Ext.PluginManager.html#registerType" rel="Ext.PluginManager#registerType" class="docClass">Ext.PluginManager.registerType</a></p>
</div><div class="long"><p>Shorthand for <a href="Ext.PluginManager.html#registerType" rel="Ext.PluginManager#registerType" class="docClass">Ext.PluginManager.registerType</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">ptype</span> : String<div class="sub-desc"><p>The ptype mnemonic string by which the Plugin class
may be looked up.</p>
</div></li><li><span class="pre">cls</span> : Constructor<div class="sub-desc"><p>The new Plugin class.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-query" class="member ni"><a href="Ext.html#method-query" rel="method-query" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/DomQuery.html#Ext-method-query" class="viewSource">view source</a></div><a name="query"></a><a name="method-query"></a><a href="Ext.html#" rel="method-query" class="cls expand">query</a>(
<span class="pre">String path, [Node root]</span>)
 : Array</div><div class="description"><div class="short"><p>Selects an array of DOM nodes by CSS/XPath selector. Shorthand of <a href="Ext.DomQuery.html#select" rel="Ext.DomQuery#select" class="docClass">Ext.DomQuery.select</a></p>
</div><div class="long"><p>Selects an array of DOM nodes by CSS/XPath selector. Shorthand of <a href="Ext.DomQuery.html#select" rel="Ext.DomQuery#select" class="docClass">Ext.DomQuery.select</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">path</span> : String<div class="sub-desc"><p>The selector/xpath query</p>
</div></li><li><span class="pre">root</span> : Node<div class="sub-desc"><p>(optional) The start of the query (defaults to document).</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-regModel" class="member ni"><a href="Ext.html#method-regModel" rel="method-regModel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ModelManager.html#Ext-method-regModel" class="viewSource">view source</a></div><a name="regModel"></a><a name="method-regModel"></a><a href="Ext.html#" rel="method-regModel" class="cls expand">regModel</a>(
<span class="pre">Object config</span>)
 : Ext.data.Model</div><div class="description"><div class="short"><p>Creates a new Model class from the specified config object. See <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Ext.data.Model</a> for full examples.</p>
</div><div class="long"><p>Creates a new Model class from the specified config object. See <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Ext.data.Model</a> for full examples.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>A configuration object for the Model you wish to create.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.data.Model</span>&nbsp; &nbsp;<p>The newly registered Model</p>
</li></ul></div></div></div><div id="method-regStore" class="member ni"><a href="Ext.html#method-regStore" rel="method-regStore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/StoreManager.html#Ext-method-regStore" class="viewSource">view source</a></div><a name="regStore"></a><a name="method-regStore"></a><a href="Ext.html#" rel="method-regStore" class="cls expand">regStore</a>(
<span class="pre">String id, Object config, Constructor cls</span>)
 : void</div><div class="description"><div class="short">Creates a new store for the given id and config, then registers it with the Store Mananger. 
Sample usage:




    Ex...</div><div class="long"><p>Creates a new store for the given id and config, then registers it with the <a href="Ext.data.StoreManager.html" rel="Ext.data.StoreManager" class="docClass">Store Mananger</a>. 
Sample usage:</p>




<pre><code>    Ext.regStore('AllUsers', {
        model: 'User'
    });

    //the store can now easily be used throughout the application
    new Ext.List({
        store: 'AllUsers',
        ... other config
    });
    </code></pre>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">id</span> : String<div class="sub-desc"><p>The id to set on the new store</p>
</div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The store config</p>
</div></li><li><span class="pre">cls</span> : Constructor<div class="sub-desc"><p>The new Component class.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-require" class="member ni"><a href="Ext.html#method-require" rel="method-require" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Loader.html#Ext-method-require" class="viewSource">view source</a></div><a name="require"></a><a name="method-require"></a><a href="Ext.html#" rel="method-require" class="cls expand">require</a> : void</div><div class="description"><div class="short"><p>Convenient alias of <a href="Ext.Loader.html#require" rel="Ext.Loader#require" class="docClass">Ext.Loader.require</a>. Please see the introduction documentation of
<a href="Ext.Loader.html" rel="Ext.Loader" class="docClass">Ext.Loader</a> for examples.</p>
</div><div class="long"><p>Convenient alias of <a href="Ext.Loader.html#require" rel="Ext.Loader#require" class="docClass">Ext.Loader.require</a>. Please see the introduction documentation of
<a href="Ext.Loader.html" rel="Ext.Loader" class="docClass">Ext.Loader</a> for examples.</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-select" class="member ni"><a href="Ext.html#method-select" rel="method-select" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/CompositeElementLite.html#Ext-method-select" class="viewSource">view source</a></div><a name="select"></a><a name="method-select"></a><a href="Ext.html#" rel="method-select" class="cls expand">select</a>(
<span class="pre">String/Array selector, [HTMLElement/String root]</span>)
 : CompositeElementLite/CompositeElement</div><div class="description"><div class="short">Selects elements based on the passed CSS selector to enable Element methods
to be applied to many related elements in...</div><div class="long"><p>Selects elements based on the passed CSS selector to enable <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a> methods
to be applied to many related elements in one statement through the returned <a href="Ext.CompositeElement.html" rel="Ext.CompositeElement" class="docClass">CompositeElement</a> or
<a href="Ext.CompositeElementLite.html" rel="Ext.CompositeElementLite" class="docClass">CompositeElementLite</a> object.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String/Array<div class="sub-desc"><p>The CSS selector or an array of elements</p>
</div></li><li><span class="pre">root</span> : HTMLElement/String<div class="sub-desc"><p>(optional) The root element of the query or id of the root</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">CompositeElementLite/CompositeElement</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-sum" class="member ni"><a href="Ext.html#method-sum" rel="method-sum" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-sum" class="viewSource">view source</a></div><a name="sum"></a><a name="method-sum"></a><a href="Ext.html#" rel="method-sum" class="cls expand">sum</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#sum" rel="Ext.Array#sum" class="docClass">Ext.Array.sum</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#sum" rel="Ext.Array#sum" class="docClass">Ext.Array.sum</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#sum" rel="Ext.Array#sum" class="docClass">Ext.Array.sum</a>
@deprecated 4.0.0 Use <a href="Ext.Array.html#sum" rel="Ext.Array#sum" class="docClass">Ext.Array.sum</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-syncRequire" class="member ni"><a href="Ext.html#method-syncRequire" rel="method-syncRequire" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Loader.html#Ext-method-syncRequire" class="viewSource">view source</a></div><a name="syncRequire"></a><a name="method-syncRequire"></a><a href="Ext.html#" rel="method-syncRequire" class="cls expand">syncRequire</a> : void</div><div class="description"><div class="short"><p>Synchronous version of <a href="Ext.html#require" rel="Ext#require" class="docClass">require</a>, convenient alias of <a href="Ext.Loader.html#syncRequire" rel="Ext.Loader#syncRequire" class="docClass">Ext.Loader.syncRequire</a>.</p>
</div><div class="long"><p>Synchronous version of <a href="Ext.html#require" rel="Ext#require" class="docClass">require</a>, convenient alias of <a href="Ext.Loader.html#syncRequire" rel="Ext.Loader#syncRequire" class="docClass">Ext.Loader.syncRequire</a>.</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-toArray" class="member ni"><a href="Ext.html#method-toArray" rel="method-toArray" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-toArray" class="viewSource">view source</a></div><a name="toArray"></a><a name="method-toArray"></a><a href="Ext.html#" rel="method-toArray" class="cls expand">toArray</a>(
<span class="pre">Iterable the</span>)
 : Array</div><div class="description"><div class="short"><p>Convenient alias to <a href="Ext.Array.html#toArray" rel="Ext.Array#toArray" class="docClass">Ext.Array.toArray</a></p>
</div><div class="long"><p>Convenient alias to <a href="Ext.Array.html#toArray" rel="Ext.Array#toArray" class="docClass">Ext.Array.toArray</a></p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">the</span> : Iterable<div class="sub-desc"><p>iterable object to be turned into a true Array.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>array</p>
</li></ul></div></div></div><div id="method-toSentence" class="member ni"><a href="Ext.html#method-toSentence" rel="method-toSentence" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-toSentence" class="viewSource">view source</a></div><a name="toSentence"></a><a name="method-toSentence"></a><a href="Ext.html#" rel="method-toSentence" class="cls expand">toSentence</a>(
<span class="pre">Array items, String connector</span>)
 : String</div><div class="description"><div class="short">Turns an array into a sentence, joined by a specified connector - e.g.:
Ext.toSentence(['Adama', 'Tigh', 'Roslin']); ...</div><div class="long"><p>Turns an array into a sentence, joined by a specified connector - e.g.:
Ext.toSentence(['Adama', 'Tigh', 'Roslin']); //'Adama, Tigh and Roslin'
Ext.toSentence(['Adama', 'Tigh', 'Roslin'], 'or'); //'Adama, Tigh or Roslin'</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">items</span> : Array<div class="sub-desc"><p>The array to create a sentence from</p>
</div></li><li><span class="pre">connector</span> : String<div class="sub-desc"><p>The string to use to connect the last two words. Usually 'and' or 'or' - defaults to 'and'.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The sentence string
@deprecated 4.0.0 Will be removed in the next major version</p>
</li></ul></div></div></div><div id="method-typeOf" class="member ni"><a href="Ext.html#method-typeOf" rel="method-typeOf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-typeOf" class="viewSource">view source</a></div><a name="typeOf"></a><a name="method-typeOf"></a><a href="Ext.html#" rel="method-typeOf" class="cls expand">typeOf</a>(
<span class="pre">Mixed value</span>)
 : String</div><div class="description"><div class="short">Returns the type of the given variable in string format. List of possible values are:


undefined: If the given value...</div><div class="long"><p>Returns the type of the given variable in string format. List of possible values are:</p>

<ul>
<li><code>undefined</code>: If the given value is <code>undefined</code></li>
<li><code>null</code>: If the given value is <code>null</code></li>
<li><code>string</code>: If the given value is a string</li>
<li><code>number</code>: If the given value is a number</li>
<li><code>boolean</code>: If the given value is a boolean value</li>
<li><code>date</code>: If the given value is a <code>Date</code> object</li>
<li><code>function</code>: If the given value is a function reference</li>
<li><code>object</code>: If the given value is an object</li>
<li><code>array</code>: If the given value is an array</li>
<li><code>regexp</code>: If the given value is a regular expression</li>
<li><code>element</code>: If the given value is a DOM Element</li>
<li><code>textnode</code>: If the given value is a DOM text node and contains something other than whitespace</li>
<li><code>whitespace</code>: If the given value is a DOM text node and contains only whitespace</li>
</ul>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-unique" class="member ni"><a href="Ext.html#method-unique" rel="method-unique" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Array2.html#Ext-method-unique" class="viewSource">view source</a></div><a name="unique"></a><a name="method-unique"></a><a href="Ext.html#" rel="method-unique" class="cls expand">unique</a> : void</div><div class="description"><div class="short"><p>Old alias to <a href="Ext.Array.html#unique" rel="Ext.Array#unique" class="docClass">Ext.Array.unique</a>
@deprecated 4.0.0 Use <a href="Ext.Array.unique.html" rel="Ext.Array.unique" class="docClass">Ext.Array.unique</a> instead</p>
</div><div class="long"><p>Old alias to <a href="Ext.Array.html#unique" rel="Ext.Array#unique" class="docClass">Ext.Array.unique</a>
@deprecated 4.0.0 Use <a href="Ext.Array.unique.html" rel="Ext.Array.unique" class="docClass">Ext.Array.unique</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-urlAppend" class="member ni"><a href="Ext.html#method-urlAppend" rel="method-urlAppend" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-urlAppend" class="viewSource">view source</a></div><a name="urlAppend"></a><a name="method-urlAppend"></a><a href="Ext.html#" rel="method-urlAppend" class="cls expand">urlAppend</a>(
<span class="pre">String url, String s</span>)
 : void</div><div class="description"><div class="short"><p>Appends content to the query string of a URL, handling logic for whether to place
a question mark or ampersand.</p>
</div><div class="long"><p>Appends content to the query string of a URL, handling logic for whether to place
a question mark or ampersand.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">url</span> : String<div class="sub-desc"><p>The URL to append to.</p>
</div></li><li><span class="pre">s</span> : String<div class="sub-desc"><p>The content to append to the URL.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>(String) The resulting URL</p>
</li></ul></div></div></div><div id="method-urlDecode" class="member ni"><a href="Ext.html#method-urlDecode" rel="method-urlDecode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Object.html#Ext-method-urlDecode" class="viewSource">view source</a></div><a name="urlDecode"></a><a name="method-urlDecode"></a><a href="Ext.html#" rel="method-urlDecode" class="cls expand">urlDecode</a> : void</div><div class="description"><div class="short"><p>A convenient alias method for <a href="Ext.Object.html#fromQueryString" rel="Ext.Object#fromQueryString" class="docClass">Ext.Object.fromQueryString</a> @deprecated 4.0.0 Use <a href="Ext.Object.html#fromQueryString" rel="Ext.Object#fromQueryString" class="docClass">Ext.Object.fromQueryString</a> instead</p>
</div><div class="long"><p>A convenient alias method for <a href="Ext.Object.html#fromQueryString" rel="Ext.Object#fromQueryString" class="docClass">Ext.Object.fromQueryString</a> @deprecated 4.0.0 Use <a href="Ext.Object.html#fromQueryString" rel="Ext.Object#fromQueryString" class="docClass">Ext.Object.fromQueryString</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-urlEncode" class="member ni"><a href="Ext.html#method-urlEncode" rel="method-urlEncode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Object.html#Ext-method-urlEncode" class="viewSource">view source</a></div><a name="urlEncode"></a><a name="method-urlEncode"></a><a href="Ext.html#" rel="method-urlEncode" class="cls expand">urlEncode</a> : void</div><div class="description"><div class="short"><p>A convenient alias method for <a href="Ext.Object.html#toQueryString" rel="Ext.Object#toQueryString" class="docClass">Ext.Object.toQueryString</a> @deprecated 4.0.0 Use <a href="Ext.Object.html#toQueryString" rel="Ext.Object#toQueryString" class="docClass">Ext.Object.toQueryString</a> instead</p>
</div><div class="long"><p>A convenient alias method for <a href="Ext.Object.html#toQueryString" rel="Ext.Object#toQueryString" class="docClass">Ext.Object.toQueryString</a> @deprecated 4.0.0 Use <a href="Ext.Object.html#toQueryString" rel="Ext.Object#toQueryString" class="docClass">Ext.Object.toQueryString</a> instead</p>
<h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-value" class="member ni"><a href="Ext.html#method-value" rel="method-value" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-value" class="viewSource">view source</a></div><a name="value"></a><a name="method-value"></a><a href="Ext.html#" rel="method-value" class="cls expand">value</a>(
<span class="pre">Mixed value, Mixed defaultValue, [Boolean allowBlank]</span>)
 : Mixed</div><div class="description"><div class="short">Utility method for returning a default value if the passed value is empty.


The value is deemed to be empty if it is...</div><div class="long"><p>Utility method for returning a default value if the passed value is empty.</p>


<p>The value is deemed to be empty if it is<div class="mdetail-params"><ul>
<li>null</li>
<li>undefined</li>
<li>an empty array</li>
<li>a zero length string (Unless the <tt>allowBlank</tt> parameter is <tt>true</tt>)</li>
</ul></div>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li><li><span class="pre">defaultValue</span> : Mixed<div class="sub-desc"><p>The value to return if the original value is empty</p>
</div></li><li><span class="pre">allowBlank</span> : Boolean<div class="sub-desc"><p>(optional) true to allow zero length strings to qualify as non-empty (defaults to false)</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>value, if non-empty, else defaultValue
@deprecated 4.0.0 Use {Ext#valueFrom} instead</p>
</li></ul></div></div></div><div id="method-valueFrom" class="member ni"><a href="Ext.html#method-valueFrom" rel="method-valueFrom" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext.html#Ext-method-valueFrom" class="viewSource">view source</a></div><a name="valueFrom"></a><a name="method-valueFrom"></a><a href="Ext.html#" rel="method-valueFrom" class="cls expand">valueFrom</a>(
<span class="pre">Mixed value, Mixed defaultValue, [Boolean allowBlank]</span>)
 : Mixed</div><div class="description"><div class="short">Returns the given value itself if it's not empty, as described in isEmpty; returns the default
value (second argument...</div><div class="long"><p>Returns the given value itself if it's not empty, as described in <a href="Ext.html#isEmpty" rel="Ext#isEmpty" class="docClass">isEmpty</a>; returns the default
value (second argument) otherwise.</p>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>The value to test</p>
</div></li><li><span class="pre">defaultValue</span> : Mixed<div class="sub-desc"><p>The value to return if the original value is empty</p>
</div></li><li><span class="pre">allowBlank</span> : Boolean<div class="sub-desc"><p>(optional) true to allow zero length strings to qualify as non-empty (defaults to false)</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>value, if non-empty, else defaultValue</p>
</li></ul></div></div></div><div id="method-widget" class="member ni"><a href="Ext.html#method-widget" rel="method-widget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/ClassManager.html#Ext-method-widget" class="viewSource">view source</a></div><a name="widget"></a><a name="method-widget"></a><a href="Ext.html#" rel="method-widget" class="cls expand">widget</a>(
<span class="pre">Object name</span>)
 : void</div><div class="description"><div class="short">Convenient shorthand to create a widget by its xtype, also see Ext.ClassManager.instantiateByAlias

var button = Ext....</div><div class="long"><p>Convenient shorthand to create a widget by its xtype, also see <a href="Ext.ClassManager.html#instantiateByAlias" rel="Ext.ClassManager#instantiateByAlias" class="docClass">Ext.ClassManager.instantiateByAlias</a></p>

<pre><code>var button = Ext.widget('button'); // Equivalent to Ext.create('widget.button')
var panel = Ext.widget('panel'); // Equivalent to Ext.create('widget.panel')
</code></pre>
<h3 class="pa">Parameters</h3><ul><li><span class="pre">name</span> : Object<div class="sub-desc">
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
</li></ul></div></div></div><div id="method-zip" class="member ni"><a href="Ext.html#method-zip" rel="method-zip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.html" class="definedIn docClass">Ext</a><br/><a href="../source/Ext-more.html#Ext-method-zip" class="viewSource">view source</a></div><a name="zip"></a><a name="method-zip"></a><a href="Ext.html#" rel="method-zip" class="cls expand">zip</a>(
<span class="pre">Arrays|NodeLists arr, [Function zipper]</span>)
 : Array</div><div class="description"><div class="short">Zips N sets together.


// Example 1:
Ext.zip([1,2,3],[4,5,6]); // [[1,4],[2,5],[3,6]]
// Example 2:
Ext.zip(
    [ "...</div><div class="long"><p>Zips N sets together.</p>


<pre><code>// Example 1:
Ext.zip([1,2,3],[4,5,6]); // [[1,4],[2,5],[3,6]]
// Example 2:
Ext.zip(
    [ "+", "-", "+"],
    [  12,  10,  22],
    [  43,  15,  96],
    function(a, b, c){
        return "$" + a + "" + b + "." + c
    }
); // ["$+12.43", "$-10.15", "$+22.96"]
</code></pre>

<h3 class="pa">Parameters</h3><ul><li><span class="pre">arr</span> : Arrays|NodeLists<div class="sub-desc"><p>This argument may be repeated. Array(s) to contribute values.</p>
</div></li><li><span class="pre">zipper</span> : Function<div class="sub-desc"><p>(optional) The last item in the argument list. This will drive how the items are zipped together.</p>
</div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The zipped set.
@deprecated 4.0.0 Will be removed in the next major version</p>
</li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>